package com.hiultra.archive.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

/**
 * 档案入库列表对象 archive_storage
 *
 * @author ruoyi
 * @date 2024-07-22
 */
public class ArchiveStorage extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private String id;

    /**
     * 入库任务id
     */
    private String taskId;
    private String taskBoxId;
    private String archiveId;

    /**
     * 档案室编号
     */
    private String roomNo;
    /**
     * 供电单位编号
     */
    @Excel(name = "供电单位编号")
    private String orgNo;

    /**
     * 入库任务编号
     */
    @Excel(name = "工单编号")
    private String warehousingNo;

    /**
     * 入库状态
     */
    @Excel(name = "入库状态", dictType = "stockin_status", needMerge = true)
    private String status;

    /**
     * 推送状态
     */
    @Excel(name = "推送状态", dictType = "push_status", needMerge = true)
    private String pushStatus;

    /**
     * 档案盒号
     */
    @Excel(name = "档案盒号")
    private String boxCode;
    /**
     * 档案袋号
     */
    @Excel(name = "档案袋号")
    private String bagNo;


    /**
     * 库房编号
     */
    private String houseNo;

    /**
     * 档案区编号
     */
    private String areaNo;

    /**
     * 档案柜编号
     */
    private String cabinetNo;
    /**
     * 档案盒条码
     */
    private String boxBarCode;

    private String storLoc;

    /**
     * 库位号
     */
    private String houseLocationNo;

    /**
     * 用户编号
     */
    private String custNo;

    /**
     * 用户名称
     */
    private String custName;

    private String archName;
    /**
     * 档案名称
     */
    @Excel(name = "档案名称")
    private String archiveName;

    /**
     * 档案类型
     */
    @Excel(name = "档案类型", dictType = "archive_type")
    private String archiveType;

    /**
     * 资料种类
     */
    @Excel(name = "资料种类", dictType = "means_type")
    private String meansType;
    /**
     * 密级
     */
    @Excel(name = "密级", dictType = "confd_lv")
    private String conLevel;

    /**
     * 介质类型
     */
    @Excel(name = "介质类型", dictType = "med_form")
    private String medForm;


    /**
     * 创建人
     */
    private String creator;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date modifyTime;

    /**
     * 更新人
     */
    private String modifier;
    private String userType;
    private String isImporCust;
    private String boxId;
    private String boxNo;
    private String bagId;

    private String giveBackStatus;

    /**
     * 保管期限
     */
    @Excel(name = "保管期限", dictType = "keep_dur")
    private String saveDate;

    /**
     * 对象类型
     */
    @Excel(name = "对象类型", dictType = "arch_obj_type")
    private String archObjType;

    /**
     * 对象编号
     */
    @Excel(name = "对象编号")
    private String archObjNo;

    /**
     * 对象名称
     */
    @Excel(name = "对象名称")
    private String archObjName;

    public String getArchiveName() {
        return archiveName;
    }

    public void setArchiveName(String archiveName) {
        this.archiveName = archiveName;
    }

    public String getStorLoc() {
        return storLoc;
    }

    public void setStorLoc(String storLoc) {
        this.storLoc = storLoc;
    }

    public String getBoxNo() {
        return boxNo;
    }

    public void setBoxNo(String boxNo) {
        this.boxNo = boxNo;
    }

    public String getGiveBackStatus() {
        return giveBackStatus;
    }

    public void setGiveBackStatus(String giveBackStatus) {
        this.giveBackStatus = giveBackStatus;
    }

    public String getArchiveType() {
        return archiveType;
    }

    public void setArchiveType(String archiveType) {
        this.archiveType = archiveType;
    }

    public String getSaveDate() {
        return saveDate;
    }

    public void setSaveDate(String saveDate) {
        this.saveDate = saveDate;
    }

    public String getConLevel() {
        return conLevel;
    }

    public void setConLevel(String conLevel) {
        this.conLevel = conLevel;
    }

    public String getMeansType() {
        return meansType;
    }

    public void setMeansType(String meansType) {
        this.meansType = meansType;
    }

    public String getMedForm() {
        return medForm;
    }

    public void setMedForm(String medForm) {
        this.medForm = medForm;
    }

    public String getArchObjType() {
        return archObjType;
    }

    public void setArchObjType(String archObjType) {
        this.archObjType = archObjType;
    }

    public String getArchObjNo() {
        return archObjNo;
    }

    public void setArchObjNo(String archObjNo) {
        this.archObjNo = archObjNo;
    }

    public String getArchObjName() {
        return archObjName;
    }

    public void setArchObjName(String archObjName) {
        this.archObjName = archObjName;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getPushStatus() {
        return pushStatus;
    }

    public void setPushStatus(String pushStatus) {
        this.pushStatus = pushStatus;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public String getIsImporCust() {
        return isImporCust;
    }

    public void setIsImporCust(String isImporCust) {
        this.isImporCust = isImporCust;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskBoxId(String taskBoxId) {
        this.taskBoxId = taskBoxId;
    }

    public String getTaskBoxId() {
        return taskBoxId;
    }

    public void setCustNo(String custNo) {
        this.custNo = custNo;
    }

    public String getCustNo() {
        return custNo;
    }

    public void setCustName(String custName) {
        this.custName = custName;
    }

    public String getCustName() {
        return custName;
    }

    public void setArchName(String archName) {
        this.archName = archName;
    }

    public String getArchName() {
        return archName;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getCreator() {
        return creator;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public String getModifier() {
        return modifier;
    }


    /**
     * 入库结果 1成功 2失败
     */
    // @Excel(name = "入库结果")
    private String warehousingResult;
    /**
     * 入库时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date warehousingTime;

    public String getArchiveId() {
        return archiveId;
    }

    public void setArchiveId(String archiveId) {
        this.archiveId = archiveId;
    }

    //入库操作员
    private String warehousingBy;

    public Date getWarehousingTime() {
        return warehousingTime;
    }

    public void setWarehousingTime(Date warehousingTime) {
        this.warehousingTime = warehousingTime;
    }

    public String getWarehousingBy() {
        return warehousingBy;
    }

    public void setWarehousingBy(String warehousingBy) {
        this.warehousingBy = warehousingBy;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }

    public String getOrgNo() {
        return orgNo;
    }

    public void setRoomNo(String roomNo) {
        this.roomNo = roomNo;
    }

    public String getRoomNo() {
        return roomNo;
    }

    public void setWarehousingNo(String warehousingNo) {
        this.warehousingNo = warehousingNo;
    }

    public String getWarehousingNo() {
        return warehousingNo;
    }

    public void setHouseNo(String houseNo) {
        this.houseNo = houseNo;
    }

    public String getHouseNo() {
        return houseNo;
    }

    public void setAreaNo(String areaNo) {
        this.areaNo = areaNo;
    }

    public String getAreaNo() {
        return areaNo;
    }

    public void setCabinetNo(String cabinetNo) {
        this.cabinetNo = cabinetNo;
    }

    public String getCabinetNo() {
        return cabinetNo;
    }

    public void setWarehousingResult(String warehousingResult) {
        this.warehousingResult = warehousingResult;
    }

    public String getWarehousingResult() {
        return warehousingResult;
    }

    public void setBoxBarCode(String boxBarCode) {
        this.boxBarCode = boxBarCode;
    }

    public String getBoxBarCode() {
        return boxBarCode;
    }

    public void setHouseLocationNo(String houseLocationNo) {
        this.houseLocationNo = houseLocationNo;
    }

    public String getHouseLocationNo() {
        return houseLocationNo;
    }

    public String getBoxId() {
        return boxId;
    }

    public void setBoxId(String boxId) {
        this.boxId = boxId;
    }

    public String getBagId() {
        return bagId;
    }

    public void setBagId(String bagId) {
        this.bagId = bagId;
    }

    public String getBoxCode() {
        return boxCode;
    }

    public void setBoxCode(String boxCode) {
        this.boxCode = boxCode;
    }


    public String getBagNo() {
        return bagNo;
    }

    public void setBagNo(String bagNo) {
        this.bagNo = bagNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("taskId", getTaskId())
                .append("taskBoxId", getTaskBoxId())
                .append("custNo", getCustNo())
                .append("custName", getCustName())
                .append("archName", getArchName())
                .append("createTime", getCreateTime())
                .append("creator", getCreator())
                .append("modifyTime", getModifyTime())
                .append("modifier", getModifier())
                .append("boxId", getBoxId())
                .append("bagId", getBagId())
                .toString();
    }
}
